import os
import sys

from celery import Celery

parent_dir = os.path.dirname('./')
sys.path.append(parent_dir)

celery_app = Celery("travel-api")

celery_app.config_from_object("Celery.config")

celery_app.autodiscover_tasks(["Celery.tasks", ])
